package nowCoder;

import java.util.Scanner;

/**
 * @Auther: zzx
 * @Date: 2024.03.24/3/7
 */
public class HJ105 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        double sum = 0;
        int count = 0;
        int co = 0;
        while (sc.hasNext()){
            int i = sc.nextInt();
            if (i < 0){
                count++;
            }else {
                co++;
                sum += i;
            }
        }
        System.out.println(count);
        System.out.printf("%.1f",sum/co);
    }
}
